//
// Created by youkn on 25-4-9.
//

#ifndef TASKSTEP_H
#define TASKSTEP_H
#include <QString>
#include "TaskType.h"
#include "WindowControl.h"

using namespace SS;
class TaskStep {
public:
    virtual bool isMatchingStep() = 0;
    virtual void retry() = 0;
    void setSourcePicture(QString&& picturePath) {
        this->sourcePicture = picturePath;
    }
protected:
    // 窗口截图
    QString sourcePicture;
    WindowControl control;
    HWND hwnd;

};
#endif //TASKSTEP_H
